using System.Collections;
using System.Collections.Generic;
using Siccity.GLTFUtility;
using UnityEngine;

public class test : MonoBehaviour
{
    // Start is called before the first frame update

    public void Start()
    {
        ImportGLTFAsync("./Assets/GLTF/a.glb");

        
    }
    void ImportGLTFAsync(string filepath)
    {
        Importer.ImportGLBAsync(filepath, new ImportSettings(), OnFinishAsync);
    }

    void OnFinishAsync(GameObject result, AnimationClip[] acs)
    {
        Debug.Log("Finished importing " + result.name);
    }
}
